package com.dinghui.salary.mapper;

import com.dinghui.salary.pojo.User;
import com.dinghui.salary.pojo.dto.LoginDTO;
import org.springframework.stereotype.Repository;

/**
 * @author tanrentao
 * @date 2021-09-06
 * @desc
 */
@Repository
public interface UserMapper {

    User login(LoginDTO dto);

    User selectUserById(Integer userId);
}
